<!DOCTYPE html>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>欢迎页面</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8"/>
    <link rel="stylesheet" href="/style/x_admin/css/font.css">
    <link rel="stylesheet" href="/style/x_admin/css/xadmin.css">
    <script src="/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/style/x_admin/js/xadmin.js"></script>
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body ">
                    <blockquote class="layui-elem-quote">欢迎管理员：
                        <span class="x-red">{{admin_name}}</span>！当前时间：<?= date('Y-m-d H:i:s', time()) ?>
                    </blockquote>
                </div>
            </div>
        </div>
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">数据统计（仅效果展示）</div>
                <div class="layui-card-body ">
                    <ul class="layui-row layui-col-space10 layui-this x-admin-carousel x-admin-backlog">
                        <li class="layui-col-md2 layui-col-xs6">
                            <a href="javascript:;" class="x-admin-backlog-body">
                                <h3>订单数</h3>
                                <p><cite>0</cite></p>
                            </a>
                        </li>
                        <li class="layui-col-md2 layui-col-xs6">
                            <a href="javascript:;" class="x-admin-backlog-body">
                                <h3>会员数</h3>
                                <p><cite>0</cite></p>
                            </a>
                        </li>
                        <li class="layui-col-md2 layui-col-xs6">
                            <a href="javascript:;" class="x-admin-backlog-body">
                                <h3>文章数</h3>
                                <p><cite>0</cite></p>
                            </a>
                        </li>
                        <li class="layui-col-md2 layui-col-xs6">
                            <a href="javascript:;" class="x-admin-backlog-body">
                                <h3>留言数</h3>
                                <p><cite>0</cite></p>
                            </a>
                        </li>
                        <li class="layui-col-md2 layui-col-xs6">
                            <a href="javascript:;" class="x-admin-backlog-body">
                                <h3>回复数</h3>
                                <p><cite>0</cite></p>
                            </a>
                        </li>
                        <li class="layui-col-md2 layui-col-xs6 ">
                            <a href="javascript:;" class="x-admin-backlog-body">
                                <h3>意见数</h3>
                                <p><cite>0</cite></p>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="layui-col-sm6 layui-col-md3" style="display:none;">
            <div class="layui-card">
                <div class="layui-card-header">
                    <span class="layui-badge layui-bg-cyan layuiadmin-badge"></span></div>
                <div class="layui-card-body  ">
                    <p class="layuiadmin-big-font"></p>
                    <p>
                        <span class="layuiadmin-span-color"><i
                                    class="layui-inline layui-icon layui-icon-face-smile-b"></i></span>
                    </p>
                </div>
            </div>
        </div>
        <div class="layui-col-sm6 layui-col-md3" style="display:none;">
            <div class="layui-card">
                <div class="layui-card-header">
                    <span class="layui-badge layui-bg-cyan layuiadmin-badge"></span></div>
                <div class="layui-card-body ">
                    <p class="layuiadmin-big-font"></p>
                    <p>
                        <span class="layuiadmin-span-color"><i
                                    class="layui-inline layui-icon layui-icon-face-smile-b"></i></span>
                    </p>
                </div>
            </div>
        </div>
        <div class="layui-col-sm6 layui-col-md3" style="display:none;">
            <div class="layui-card">
                <div class="layui-card-header">
                    <span class="layui-badge layui-bg-cyan layuiadmin-badge"></span></div>
                <div class="layui-card-body ">
                    <p class="layuiadmin-big-font"></p>
                    <p>
                        <span class="layuiadmin-span-color"><i
                                    class="layui-inline layui-icon layui-icon-face-smile-b"></i></span>
                    </p>
                </div>
            </div>
        </div>
        <div class="layui-col-sm6 layui-col-md3" style="display:none;">
            <div class="layui-card">
                <div class="layui-card-header">
                    <span class="layui-badge layui-bg-cyan layuiadmin-badge"></span></div>
                <div class="layui-card-body ">
                    <p class="layuiadmin-big-font"></p>
                    <p>
                        <span class="layuiadmin-span-color"><i
                                    class="layui-inline layui-icon layui-icon-face-smile-b"></i></span>
                    </p>
                </div>
            </div>
        </div>
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">系统信息</div>
                <div class="layui-card-body ">
                    <table class="layui-table">
                        <tbody>
                        <tr>
                            <th>版本</th>
                            <td>{{version}}</td>
                        </tr>
                        <tr>
                            <th>服务器地址</th>
                            <td>{{url}}</td>
                        </tr>
                        <tr>
                            <th>操作系统</th>
                            <td>{{os_sys}}</td>
                        </tr>
                        <tr>
                            <th>运行环境</th>
                            <td>{{php_info}}</td>
                        </tr>
                        <tr>
                            <th>PHP版本</th>
                            <td>{{php_ver}}</td>
                        </tr>
                        <tr>
                            <th>PHP运行方式</th>
                            <td>{{run_type}}</td>
                        </tr>
                        <tr>
                            <th>MYSQL版本</th>
                            <td>{{mysql_ver}}</td>
                        </tr>
                        <tr>
                            <th>Phalcon</th>
                            <td>{{phalcon_ver}}</td>
                        </tr>
                        <tr>
                            <th>上传最大限制</th>
                            <td>{{up_max}}</td>
                        </tr>
                        <tr>
                            <th>执行时间限制</th>
                            <td>{{run_max}}s</td>
                        </tr>
                        <tr>
                            <th>剩余空间</th>
                            <td>---</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">开发团队</div>
                <div class="layui-card-body ">
                    <table class="layui-table">
                        <tbody>
                        <tr>
                            <th>版权所有</th>
                            <td>PHADMIN(发德名)</td>
                        </tr>
                        <tr>
                            <th>开发者</th>
                            <td>发德名（https://gitee.com/fade-name/phadmin）</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <style id="welcome_style"></style>
        <div class="layui-col-md12">
            <blockquote class="layui-elem-quote layui-quote-nm">本系统由发德名提供技术支持</blockquote>
        </div>
    </div>
</div>
</div>
<script type="text/javascript">
    //let close_page = ''; //close_page
    let close_page = '0';

    function checkClose() {
        if (top !== self && close_page === '1') {
            xadmin.close();
        }
    }

    layui.use(
        ['jquery'],
        function () {
            let $ = layui.jquery;
            $(document).ready(function () {
                checkClose();
            });
        }
    );
</script>
</body>
</html>
